<template>
	<view class="body">
		<view class="item fb f36 bg-white p30 line">{{data.detail.title}}</view>
		<view class="item d-b-c bg-white p30 line">
			<view class="name sub">负责人</view>
			<view class="f28">{{data.detail.fzr}}</view>
		</view>
		<view class="item d-b-c bg-white p30 line">
			<view class="name sub">执行人</view>
			<view class="f28">{{data.detail.zxr}}</view>
		</view>
		<view class="item d-b-c bg-white p30 line mt40">
			<view class="name sub">开始时间</view>
			<view class="f28">{{data.detail.addtiem}}</view>
		</view>
		<view class="item d-b-c bg-white p30 line">
			<view class="name sub">结束时间</view>
			<view class="f28">{{data.detail.endtime}}</view>
		</view>
		<view class="item d-b-c bg-white p30 line mt40">
			<view class="name sub">抄送人</view>
			<view class="f28">{{data.detail.scr}}</view>
		</view>
		<view class="item d-s-s bg-white p30 line mt40 d-c" v-if='data.detail.file.length>0'>
			<view class="name sub">附件</view>
			<view class="upload mt20">
				<up-upload :fileList="data.detail.file" accept='file' @afterRead="afterRead" @delete="deletePic"
					:maxCount="9"></up-upload>
			</view>
		</view>
		<view class="item d-s-s d-c bg-white p30 line">
			<view class="name sub">备注</view>
			<view class="ww100 f28 mt20">{{data.detail.note||'暂无备注'}}</view>
		</view>
		<view class="p30">
			<up-button text="反馈送抄人" color="#1379e5" shape="circle"></up-button>
		</view>
	</view>
</template>
<script setup>
	import { reactive } from 'vue'
	import { onLoad } from "@dcloudio/uni-app";
	import { useStore } from "vuex"
	import { timeFormat } from '@/uni_modules/uview-plus';
	const store = useStore()
	const data = reactive({
		detail: {
			title: "8月10号整理会议记录+分发各个部门",
			jiezhi: "今天",
			addtiem: "2024-08-05 00:00:00",
			endtime:"2024-08-05 00:00:00",
			fzr: "白马王子",
			zxr:"黑马青年",
			scr:'宋朝人',
			num: 0,
			note:"备注备注",
			file: []
		}
	})
	onLoad(() => {})
</script>
<style scoped lang="scss">
	.name {
		width: 5em;
	}
</style>